<!DOCTYPE html>
<html lang="th">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="author" content="">

    <title></title>

    <!-- CSS -->
    <link href="<?php echo $stylepath;?>/bootstrap.css" rel="stylesheet">
    <link href="<?php echo $stylepath;?>/master.css" rel="stylesheet">
    
    <!-- Javascript -->
    <script type="text/javascript" src="http://code.jquery.com/jquery.js"></script>
    <script type="text/javascript" src="<?php echo $jspath;?>/bootstrap.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="<?php echo $jspath;?>/html5shiv.js"></script>
      <script src="<?php echo $jspath;?>/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <div id="wrap">
      <div class="container">
      <!-- Fixed navbar -->
      <div class="navbar navbar-default navbar-fixed-top">
        <div class="container">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".top-navbar">
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a href="<?php echo base_url();?>"><img src="<?php echo $imagepath;?>/logo-3.png"></a>
          </div>
          <div class="collapse navbar-collapse top-navbar">
            <ul class="nav navbar-nav">
              <li class="active"><a href="#">หน้าแรก</a></li>
              <li><a href="#about">กระดานสนทนา</a></li>
              <li><a href="#about">เกี่ยวกับเรา</a></li>
              <li><a href="#contact">ติดต่อเรา</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a href="#">Action</a></li>
                  <li><a href="#">Another action</a></li>
                  <li><a href="#">Something else here</a></li>
                  <li class="divider"></li>
                  <li class="dropdown-header">Nav header</li>
                  <li><a href="#">Separated link</a></li>
                  <li><a href="#">One more separated link</a></li>
                </ul>
              </li>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
      <!-- End Fixed navbar -->
      <!-- Content -->
      <div class="col-sm-12 col-md-12">
        <header>
          <section class="head">
            <h1>รถจักรยานมือสอง</h1>
          </section>
          <nav class="navbar navbar-default menu-list">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".menu-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
            </div>
            <div class="collapse navbar-collapse menu-collapse">
              <ul class="nav navbar-nav">
                <li><a class="bg_orange" href="<?php echo base_url();?>">หน้าแรก</a></li>
                <li><a class="bg_green" href="#">จักรยานเสือภูเขา</a></li>
                <li><a class="bg_blue" href="#">จักรยานเสือหมอบ</a></li>
                <li><a class="bg_amethyse"href="#">จักรยานฟิกเกียร์</a></li>
                <li><a class="bg_turquoise" href="#">จักรยานทัวริ่ง</a></li>
                <li><a class="bg_alizarin" href="#">จักรยานพับ</a></li>
                <li><a class="bg_yellow"href="#">ชุดแต่งกาย</a></li>
                <li><a class="bg_green"href="#">อะไหล่จักรยาน</a></li>
                <li><a class="bg_amethyse"href="#">อุปกรณ์เสริม</a></li>
                
              </ul>
            </div><!--/.nav-collapse -->
          </nav>
        </header>
        <section class="maincontent">
          <section class="col-sm-12 col-md-8">
            <?php
              echo $maincontent;
            ?>
          </section>
          <section class="col-sm-12 col-md-4">
            {_widget member}
          </section>
        </section>
        <footer class="footer">
          <div class="container">
            
          </div>
        </footer>
      </div>
      <!-- End Content -->
      </div>
    </div>
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=1395236860733535";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
  </body>
</html>